<?php
header("content-type:text/html;charset=utf-8");
include_once "../lib/databases.php";
include_once "../lib/function.php";
//检测用户是否登录
$checklogin = $fun->check_login();
if($checklogin){
    echo $fun->success("已经登录",$_SESSION["user_info"]);
}else{
    echo $fun->error("请登录后再使用本系统!","login.html");
}
?>
